<div class="headertitle">
	<span class="header"><?php echo $this->Html->link("Forums", array("controller" => "forums", "action" => "displayForums")); ?></span>
	<span class="header"><?php echo $this->Html->link($subForumName, array(
		'controller' => 'subForums',
		'action' => 'displayTopics',
		'id' => $subForumId,
		'slug' => Inflector::slug($subForumName, '-')
		));
		?></span>
	<span class="header"><?php echo $this->Html->link($threadTitle, array(
			'controller' => 'threads',
			'action' => 'view',
			'id' => $threadId,
			'slug' => Inflector::slug($threadTitle, '-')
		));
		?></span>
	<span class="header">Edit Thread</span>
</div>
<?php
	echo $this->Form->Create("Thread");
	echo $this->Form->input("thread_id", array("type" => "hidden"));
	echo $this->Form->input("notification", array("type" => "checkbox", "label" => "Receive email notifications when someone replies to this thread"));
	echo $this->Form->input("title", array("type" => "text"));
	echo $this->Form->input("body", array("type" => "textarea", "label" => "Message"));
	echo $this->Form->input("editreason", array("type" => "text", "label" => "Reason for editing"));

	echo $this->Form->End("Post Thread");
?>